<!--
 * @Author: LiZn
 * @Date: 2021-08-19 23:56:12
 * @LastEditTime: 2021-08-22 23:07:26
 * @LastEditors: LiZn
 * @Description: file content
 * @FilePath: \todaynews\src\App.vue
-->
<template>
  <div id="app">
    <keep-alive include="Home">
      <router-view/>
    </keep-alive>
    <keep-alive >
      <BottomTab v-if="$route.meta.keepAlive"></BottomTab>
    </keep-alive>
  </div>
</template>
<script>
import BottomTab from "@/components/bottomTab";
import  '@/assets/icons/index.svg'
export default {
    components:{
      BottomTab
    },
    mounted(){
      this.$axios.post('/user/focus',{userId:'lixin'}).then(res=>{
       res
      })
    }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  width:100%;
  height:100%;
}
.iii{
  width:100px;
  height:100px;
}
::-webkit-scrollbar{
width: 0;
display:none;
}
</style>
